package org.xxpay.core.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AlipayCashUserExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    private Integer limit;

    private Integer offset;

    public AlipayCashUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdIsNull() {
            addCriterion("AlipayLoginId is null");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdIsNotNull() {
            addCriterion("AlipayLoginId is not null");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdEqualTo(String value) {
            addCriterion("AlipayLoginId =", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdNotEqualTo(String value) {
            addCriterion("AlipayLoginId <>", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdGreaterThan(String value) {
            addCriterion("AlipayLoginId >", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdGreaterThanOrEqualTo(String value) {
            addCriterion("AlipayLoginId >=", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdLessThan(String value) {
            addCriterion("AlipayLoginId <", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdLessThanOrEqualTo(String value) {
            addCriterion("AlipayLoginId <=", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdLike(String value) {
            addCriterion("AlipayLoginId like", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdNotLike(String value) {
            addCriterion("AlipayLoginId not like", value, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdIn(List<String> values) {
            addCriterion("AlipayLoginId in", values, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdNotIn(List<String> values) {
            addCriterion("AlipayLoginId not in", values, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdBetween(String value1, String value2) {
            addCriterion("AlipayLoginId between", value1, value2, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andAlipayLoginIdNotBetween(String value1, String value2) {
            addCriterion("AlipayLoginId not between", value1, value2, "alipayLoginId");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("TotalMoney is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("TotalMoney is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(Long value) {
            addCriterion("TotalMoney =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(Long value) {
            addCriterion("TotalMoney <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(Long value) {
            addCriterion("TotalMoney >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("TotalMoney >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(Long value) {
            addCriterion("TotalMoney <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(Long value) {
            addCriterion("TotalMoney <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<Long> values) {
            addCriterion("TotalMoney in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<Long> values) {
            addCriterion("TotalMoney not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(Long value1, Long value2) {
            addCriterion("TotalMoney between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(Long value1, Long value2) {
            addCriterion("TotalMoney not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitIsNull() {
            addCriterion("TotalMoneyLimit is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitIsNotNull() {
            addCriterion("TotalMoneyLimit is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitEqualTo(Long value) {
            addCriterion("TotalMoneyLimit =", value, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitNotEqualTo(Long value) {
            addCriterion("TotalMoneyLimit <>", value, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitGreaterThan(Long value) {
            addCriterion("TotalMoneyLimit >", value, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitGreaterThanOrEqualTo(Long value) {
            addCriterion("TotalMoneyLimit >=", value, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitLessThan(Long value) {
            addCriterion("TotalMoneyLimit <", value, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitLessThanOrEqualTo(Long value) {
            addCriterion("TotalMoneyLimit <=", value, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitIn(List<Long> values) {
            addCriterion("TotalMoneyLimit in", values, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitNotIn(List<Long> values) {
            addCriterion("TotalMoneyLimit not in", values, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitBetween(Long value1, Long value2) {
            addCriterion("TotalMoneyLimit between", value1, value2, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLimitNotBetween(Long value1, Long value2) {
            addCriterion("TotalMoneyLimit not between", value1, value2, "totalMoneyLimit");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyIsNull() {
            addCriterion("YesterdayMoney is null");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyIsNotNull() {
            addCriterion("YesterdayMoney is not null");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyEqualTo(Long value) {
            addCriterion("YesterdayMoney =", value, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyNotEqualTo(Long value) {
            addCriterion("YesterdayMoney <>", value, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyGreaterThan(Long value) {
            addCriterion("YesterdayMoney >", value, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("YesterdayMoney >=", value, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyLessThan(Long value) {
            addCriterion("YesterdayMoney <", value, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyLessThanOrEqualTo(Long value) {
            addCriterion("YesterdayMoney <=", value, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyIn(List<Long> values) {
            addCriterion("YesterdayMoney in", values, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyNotIn(List<Long> values) {
            addCriterion("YesterdayMoney not in", values, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyBetween(Long value1, Long value2) {
            addCriterion("YesterdayMoney between", value1, value2, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andYesterdayMoneyNotBetween(Long value1, Long value2) {
            addCriterion("YesterdayMoney not between", value1, value2, "yesterdayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyIsNull() {
            addCriterion("TodayMoney is null");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyIsNotNull() {
            addCriterion("TodayMoney is not null");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyEqualTo(Long value) {
            addCriterion("TodayMoney =", value, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyNotEqualTo(Long value) {
            addCriterion("TodayMoney <>", value, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyGreaterThan(Long value) {
            addCriterion("TodayMoney >", value, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("TodayMoney >=", value, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyLessThan(Long value) {
            addCriterion("TodayMoney <", value, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyLessThanOrEqualTo(Long value) {
            addCriterion("TodayMoney <=", value, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyIn(List<Long> values) {
            addCriterion("TodayMoney in", values, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyNotIn(List<Long> values) {
            addCriterion("TodayMoney not in", values, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyBetween(Long value1, Long value2) {
            addCriterion("TodayMoney between", value1, value2, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andTodayMoneyNotBetween(Long value1, Long value2) {
            addCriterion("TodayMoney not between", value1, value2, "todayMoney");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("CreateUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("CreateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("CreateUserId =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("CreateUserId <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("CreateUserId >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("CreateUserId >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("CreateUserId <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("CreateUserId <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("CreateUserId in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("CreateUserId not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("CreateUserId between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("CreateUserId not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}